<%--
  Created by IntelliJ IDEA.
  User: xdd
  Date: 2022/7/18
  Time: 23:33
  To change this template use File | Settings | File Templates.
--%>
<%@ page language="java" pageEncoding="UTF-8" %>
<%
    request.setCharacterEncoding("UTF-8");
    String name = request.getParameter("name");
    String pwd = request.getParameter("pwd");
    String[] channels = request.getParameterValues("channel");
%>
<html>
<head>
    <title>注册信息</title>
</head>
<body>
    <div align="center">你输入的注册信息
    <table border="0" align="center">
        <tr>
            <td width="80" height="20">用户名:</td>
            <td><%=name %></td>
        </tr>
        <tr>
            <td height="20">密码:</td>
            <td><%=pwd %></td>
        </tr>
        <tr>
            <td height="20">信息来源:</td>
            <td>
             <%
                 if(channels != null) {
                     for(String channel : channels) {
                         out.print(channel + "&nbsp;");
                     }
                 }

             %>
            </td>
        </tr>
    </table>
    </div>
</body>
</html>
